//书写品牌管理模块接口
import request from '@/utils/request'
import type { TAgeListResponseData, TAge } from './type'
enum API {
  URL_Age_LIST = '/v1/m/dic/allAges',

}

export const reqAgeList = (
  pageNum: number,
  pageSize: number,
  phase: string,
  grade: string,
) =>
  request.get<any, TAgeListResponseData>(
    API.URL_Age_LIST +
      `?page=${pageNum}&limit=${pageSize}&phase=${phase}&grade=${grade}`,
  )
